home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
telecomm
/
sticpsrc.lzh
/
SOURCE.ARC
/
COMDEBUG.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1989-05-01
|
271 b
|
20 lines
/* debug of calls to combios */
#include <stdio.h>
unsigned int combios (ax,dx)
unsigned ax,dx;
{
printf("combios(0x%04x,%d)\n",ax,dx);
fflush(stdout);
switch (ax >> 8)
{
case 2:
return 0x20c0;
case 4:
return 0xaa55;
}
return 0x2100;
}